package com.qiaofang.applet.service.other.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: youqing.yang
 * @Create: 2020/11/16 10:03
 * @Description:
 **/
@Data
@ApiModel("历史LPR利率 Dto")
public class LendingHistoricalDataDto {

    @ApiModelProperty("当前一年LPR利率")
    private BigDecimal oneLprRate;

    @ApiModelProperty("当前五年LPR利率")
    private BigDecimal fiveLprRate;

    @ApiModelProperty("LPR发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date lprPublishDate;
}
